home *** CD-ROM | disk | FTP | other *** search
- Path: mail2news.demon.co.uk!poseidon.bfs.unibol.com
- From: John Girvin <jgirvin@bfs.unibol.com>
- Newsgroups: comp.sys.amiga.programmer
- Subject: AddIntServer + VERTB strangeness
- Date: Tue, 12 Mar 1996 08:51:42 +0000 (GMT)
- Message-ID: <199603120851.IAA51888@poseidon.bfs.unibol.com>
- X-NNTP-Posting-Host: poseidon.bfs.unibol.com
- X-Mailer: ELM [version 2.4 PL23]
- MIME-Version: 1.0
- Content-Type: text/plain; charset=US-ASCII
- Content-Transfer-Encoding: 7bit
- Content-Length: 1348
- X-Mail2News-Path: ns.unibol.com!poseidon.bfs.unibol.com
-
-
- Hi,
-
- Ive been experimenting with taking over the OS interrupts using high
- priority AddIntServer and SetIntVector calls so as to remove as much
- OS overhead as possible from my game.
-
- When I install a high priority (127) vertical blank interrupt server it
- seems that the other, lower priority, servers in the chain get called
- even if my server returns with Z set (or is it NZ? cant remember offhand!)
- to indicate that no further processing is necessary for this interrupt.
-
- How can I ensure that my interrupt server is the *only* one that gets
- called? On my 1200-030 (V39) it doesnt really matter that the other servers
- get CPU time, but on my a500 (V37) things really *crawl* along.
-
- Its definitely the vertb interrupts that are causing the slowdown, for if
- I bang the intena register the problem goes away. But this kinda defeats
- the purpose of using AddIntServer!
-
- Is there something special about the vertical blank server chain that means
- it ignores the Z-return convention or server priorities?
-
- Thanks for listening!
- /John.
- -- _/_/_/ --------------------------------------------------------------------
- _/ _/ _/_/_/ _/ _/ jgirvin@bfs.unibol.com .. I speak for ME,not Unibol!
- _/ _/ _/ _/ _/ _/ Mountain biker,Amiga coder,net.surfer and Party Person
- _/_/_/ _/ _/ _/ Life would be so much simpler if I had the source code...
-